#include <arduino.h>
#include <stdio.h>
#include <avr/io.h> 
#include <avr/interrupt.h>
#include "intelligent_car.h"
#include "led8.h"

const uint8_t PROGMEM smile_bmp[8] ={ B00000000,
                                      B00000000,
									  B00000000,
									  B00000000,
									  B00000000,
									  B00000000,
									  B00000000,
									  B00000000,};	
const uint8_t PROGMEM smile_bmp1[8] ={ B00111100,
                                       B01000010,
									   B10010101,
									   B10100001,
									   B10100001,
									   B10010101,
									   B01000010,
									   B00111100,};										  
const uint8_t PROGMEM close_eyes_bmp[8] ={ B00111100,
                                           B01000010,
									       B10010001,
									       B10100001,
									       B10100001,
									       B10010001,
									       B01000010,
									       B00111100,};
const uint8_t PROGMEM right_bmp[16] ={  B00111100,
									    B00111100,
									    B00111100,
									    B00111100,
									    B00111100,
									    B00111100,
									    B00111100,
									    B00111100,
									    B11111111,
									    B01111110,
									    B00111100,
									    B00011000,
									    B00000000,
									    B00000000,
									    B00000000,
									    B00000000,}; 
const uint8_t PROGMEM left_bmp[16] ={   B00011000,
										B00111100,
									    B01111110,	
                                        B11111111,
									    B00111100,
									    B00111100,
									    B00111100,
									    B00111100,
										B00111100,
									    B00111100,
									    B00111100,
									    B00111100,										
									    B00000000,
									    B00000000,
									    B00000000,
									    B00000000,									
										}; 
const uint8_t PROGMEM close_bmp[16] ={  B00000000,
										B00000000,
									    B00000000,	
                                        B00000000,
									    B00000000,
									    B00000000,
									    B00000000,
									    B00000000,
										B00000000,
									    B00000000,
									    B00000000,
									    B00000000,										
									    B00000000,
									    B00000000,
									    B00000000,
									    B00000000,									
										}; 	
const uint8_t PROGMEM nosmile_bmp[8] ={  B00111100,
                                         B01000010,
									     B10100101,
									     B10010001,
									     B10010001,
									     B10100101,
									     B01000010,
									     B00111100,};
const uint8_t PROGMEM tiaowen_bmp[16] ={ B00010001,
										 B00100010,
									     B01000100,	
                                         B10001000,										
									     B00010001,
									     B00100010,
									     B01000100,
									     B10001000,
                                         B00010001,
										 B00100010,
									     B01000100,	
                                         B10001000,										
									     B00010001,
									     B00100010,
									     B01000100,
									     B10001000,										 													
										};
const uint8_t PROGMEM zebra_bmp[16] ={   B10101010,
										 B10101010,
									     B10101010,	
                                         B10101010,										
									     B10101010,
									     B10101010,
									     B10101010,
									     B10101010,									 
                                         B01010101,
										 B01010101,
									     B01010101,	
                                         B01010101,										
									     B01010101,
									     B01010101,
									     B01010101,
									     B01010101,										 													
										};
const uint8_t PROGMEM test_bmp[16] ={    B11111111,
										 B11111111,
									     B11111111,	
                                         B11111111,										
									     B11111111,
									     B11111111,
									     B11111111,
									     B11111111,									 
                                         B11111111,
										 B11111111,
									     B11111111,	
                                         B11111111,										
									     B11111111,
									     B11111111,
									     B11111111,
									     B11111111,};	
const uint8_t PROGMEM no_smile_bmp[8] ={ B00111100,
                                         B01000010,
									     B10100101,
									     B10010001,
									     B10010001,
									     B10100101,
									     B01000010,
									     B00111100,};	
const uint8_t PROGMEM bmp_welcome[48] ={
	                              B00111111,//1 W
								  B01000000, //15 l									  
                                  B10000000,
								  B01000000,
								  B00111110,
								  B01000000,
								  B10000000,
                                  B01000000,							  
								  B00111111,
								  B00000000,//8
                                  B00000000,//9 e
                                  B01111100,
								  B10010010,
								  B10010010,
								  B10010010,
								  B01001100,
								  B00000000, //15 l								  
								  B00000000, //
                                  B01111111,
                                  B10000000,
								  B00000000,
								  B00000000,								  
								  B01111100,//c
								  B10000010,
								  B10000010,
								  B10000010,//22
                                  B01000100,//-----
								  B00000000,
								  B00000000,											  
								  B01111100,//o
								  B10000010,
								  B10000010,
								  B10000010,
								  B01111100,//--								 
								  B00000000,
								  B00000000,											  
								  B11111100,//m
								  B00000010,//32
								  B01111100,//34
								  B00000010,//35
								  B11111100,//37
								  B00000000,//8---
                                  B00000000,//9 e
                                  B01111100,
								  B10010010,
								  B10010010,
								  B10010010,
								  B01001100,								  
								  };				  
